﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Animal
    {
        private string eat { get; set; }
        private string run { get; set; }
        private string jump { get; set; }
        private string sleep { get; set; }





        public Animal() { }

        

        public virtual void Eat() 
        {
            Console.WriteLine("我会吃东西"); 
        }
        public void Jump()
        {
            Console.WriteLine("我会跳");
        }
        public void Run()
        {
            Console.WriteLine("我会跑");
        }
        public void Sleep ()
        {
            Console.WriteLine("我会睡");
        }
    }
}
